<html> 
<% String botaoIncluir ="";
   if  (request.getParameter("botaoIncluir")!=null){
        botaoIncluir = request.getParameter("botaoIncluir");
   }
   
   String botaoRemover ="";
   if  (request.getParameter("botaoRemover")!=null){
        botaoRemover = request.getParameter("botaoRemover");
   }
   
   String botaoSalvar ="";
   if  (request.getParameter("botaoSalvar")!=null){
        botaoSalvar = request.getParameter("botaoSalvar");
   }
   
   String botaoImprimir ="";
   if  (request.getParameter("botaoImprimir")!=null){
        botaoImprimir = request.getParameter("botaoImprimir");
   }
   
   
   String botaoListar ="";
   if  (request.getParameter("botaoListar")!=null){
        botaoListar = request.getParameter("botaoListar");
   }
   
   String listar ="Listar";
   if  (request.getParameter("listar")!=null){
        listar = request.getParameter("listar");
   }

   String incluir ="Incluir";
   if  (request.getParameter("incluir")!=null){
        incluir = request.getParameter("incluir");
   }

   String salvar ="Salvar";
   if  (request.getParameter("salvar")!=null){
        salvar = request.getParameter("salvar");
   }
   
   String imagemListar ="lista.gif";
   if  (request.getParameter("imagemListar")!=null){
        imagemListar = request.getParameter("imagemListar");
   }
%>   
<table width="100%" border="0">
  <tr bgcolor="#F5F5F5" align="center" valign="middle"> 
    <% if (botaoIncluir.equals("S"))  {%>  
    <td align="center" width="5%"><a href="javascript:incluir()" class="link_gray"><img src="imagens/icones/incluir.gif" width="32" height="32" border="0"><br>
      <%=incluir%></a></td>
    <% } %> 	  
	<% if (botaoSalvar.equals("S"))  {%>  
	<td align="center" width="5%"><a href="javascript:salvar()" class="link_gray"><img src="imagens/icones/salvar.gif" border=0><br>
      <%=salvar%></a></td>
    <% } %>  
	<%  if (botaoRemover.equals("S"))   {%>  
    <td align="center" width="5%"><a href="javascript:remover()" class="link_gray"><img src="imagens/icones/remover.gif" border=0><br>
      Remover</a></td>
    <% } %> 	  
    <% if (botaoListar.equals("S")) { %>
	      <td align="center" width="15%"><a href="javascript:listar()" class="link_gray"><img src="imagens/icones/<%=imagemListar%>" border=0><br>
          <%=listar%></a></td>
	<% } %>
	<%  if (botaoImprimir.equals("S"))   {%>  
	<td width="90%" nowrap>&nbsp;</td>
    <td align="center" width="5%"> <a href="javascript:imprimir()" class="link_gray"><img src="imagens/icones/imprimir.gif" border=0><br>
     Imprimir</a></td>
    <% } else { %> 
      <td width="90%" nowrap>&nbsp;</td>
	<% } %> 
  </tr>
</table>
</html>